/*
 * Project: BoboDesignPattern
 * 
 * File Created at 2019年9月14日
 * 
 * Copyright 2012 Greenline.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Greenline Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Greenline.com.
 */
package test.scattered2.myrpc.server;

/**
 * @Type HelloServiceImpl
 * @Desc
 * @author 52489
 * @date 2019年9月14日
 * @Version V1.0
 */
public class HelloServiceImpl implements HelloService {

    /*
     * (non-Javadoc)
     * 
     * @see test.scattered2.myrpc.HelloService#sayHello(java.lang.String)
     */
    @Override
    public String sayHello(String content) {
        return "hello world:" + content;
    }

    /*
     * (non-Javadoc)
     * 
     * @see
     * test.scattered2.myrpc.HelloService#saveUser(test.scattered2.myrpc.User)
     */
    @Override
    public String saveUser(User user) {
        System.out.println("user" + user);
        return "success";
    }

}
